<script>
	import { methods } from 'uview-ui/libs/mixin/mixin'
	import { mapActions } from 'vuex'
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			this.setBaseURL(uni.$u.http.config.baseURL)
			console.log('App Show')
		},
		methods: {
			...mapActions(['setBaseURL']),
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	@import "common/common.css";

	page {
		height: 100%;
		background-image: url("");
		background-size: 100% 400px;
		background-repeat: no-repeat;
	}
</style>